make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sat, 23 Nov 2024 13:57:03 +0000 (14:57 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sat, 23 Nov 2024 13:57:03 +0000 (14:57 +0100)
commited3644e26e761693d5dc040b176ebf502532c91b
treeb3c5a9e5e505046a5fe810e800541a1238479f6a
parent14b32e6fc63c24d572b7debec42c4b5b09b60000
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c